package router

import (
	"geek-homework/week04/api/v1/handler"
	"geek-homework/week04/internal/service"
	"github.com/gin-gonic/gin"
)

func initUserRouter(Router *gin.RouterGroup, userService *service.UserService) {
	userRouter := Router.Group("user")
	{
		userRouter.GET(":id", handler.UserApi{UserService: userService}.GetUser) // 创建客户
	}
}
